--- gcolor2-0.4.orig/src/callbacks.c
+++ gcolor2-0.4/src/callbacks.c
@@ -9,6 +9,9 @@
 #include "interface.h"
 #include "support.h"
 
+/* missing headers on original file */
+#include <string.h>
+#include <glib/gprintf.h>
 
 GtkWidget        *savedialog;
 gchar            *colorname;
